//
//  JXWWeiXinViewController.m
//  JXWShopping4IPhone
//
//  Created by zheng ji on 14-2-13.
//  Copyright (c) 2014年 jxw. All rights reserved.
//

#import "JXWWeiXinViewController.h"
#import "JXWAppDelegate.h"
#import "CommonConfigUtil.h"
@interface JXWWeiXinViewController ()

@end

@implementation JXWWeiXinViewController
- (IBAction)shareToQQSpace:(id)sender {
}
- (IBAction)shareToSinaWeiBo:(id)sender {
}
- (IBAction)shareToWeiXinFavorite:(id)sender {
    JXWAppDelegate* delegate=(JXWAppDelegate*)[[UIApplication sharedApplication] delegate];
    [delegate shareToWeiXinFavorite:[CommonConfigUtil getAppStoreUrl] text:@"家乡的味道，尽在家乡味! 支持iPhone/iPad 点击前往AppStore下载" title:@"家乡味"];
}
- (IBAction)shareToWeiXinTimeLine:(id)sender {
    JXWAppDelegate* delegate=(JXWAppDelegate*)[[UIApplication sharedApplication] delegate];
         [delegate shareToWeiXinTimeLine:[CommonConfigUtil getAppStoreUrl] text:@"家乡的味道，尽在家乡味!" title:@"家乡的味道，尽在家乡味! 支持iPhone/iPad 点击前往AppStore下载"];
    
}
- (IBAction)shareToWeiXinFriend:(id)sender {
    JXWAppDelegate* delegate=(JXWAppDelegate*)[[UIApplication sharedApplication] delegate];
      
         [delegate shareToWeiXinFriend:[CommonConfigUtil getAppStoreUrl] text:@"家乡的味道，尽在家乡味!  支持iPhone/iPad 点击前往AppStore下载" title:@"家乡味"];
}

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
